
from fastapi import FastAPI
from services.api import data_fetch
import uvicorn

app = FastAPI()
app.post(path='/data-fetch', description="数据获取")(data_fetch)


if __name__ == "__main__":
    uvicorn.run(app, host="0.0.0.0", port=8000, reload=False)